const db = require('../db/index')

//获取报销列表
exports.getAuditControl = (req,res)=>{
   db.query('select * from audit_control',(err,result)=>{

      if(err) res.send({
         code:500,
         message:err,
         data:{}
      })

      res.send({
         code:200,
         message:"查询成功",
         data:result
      })

   })
}